geoipupdate software package provides MaxMind GeoIP/GeoIP2 database updates, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install geoipupdate
geoipupdate is installed in your system.
Make ensure the geoipupdate package were installed using the commands given below,
$ sudo dpkg-query -l | grep geoipupdate *
You will get with geoipupdate package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Network |
| Package | geoipupdate |
| Version | 2.2.2-1 |
| Description | MaxMind GeoIP/GeoIP2 database updates |
| Sub Section | Net |